package com.yiren.manager.form.department;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.form.elder.YrElderBeHospitalForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;
import com.yiren.manager.utils.CustomSimpleDateDeserializer;

public class YrCgIndiServiceSendOrderForm extends GenericForm{

	private static final long serialVersionUID = 7445844824819861668L;

	private String cgIndiServiceSendOrderId;

	private String caregiverId;

	private String caregiverName;

	private String createId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date createTime;

	private String elderId;

	private String elderName;

	private String indiServiceCostId;

	private String indiServiceName;

	private Float indiServicePrice;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private Integer status;
	
	private YrCaregiverForm caregiverForm;
	
	private YrElderBeHospitalForm elderBeHospitalForm;
	
	private String subjectRoomId;
	
 	@DateTimeFormat(pattern="yyyy-MM-dd")  
	private Date preSaralyPayDate;
	
	public Date getPreSaralyPayDate() {
		return preSaralyPayDate;
	}
	
	@JsonDeserialize(using=CustomSimpleDateDeserializer.class)
	public void setPreSaralyPayDate(Date preSaralyPayDate) {
		this.preSaralyPayDate = preSaralyPayDate;
	}

	public String getSubjectRoomId() {
		return subjectRoomId;
	}

	public void setSubjectRoomId(String subjectRoomId) {
		this.subjectRoomId = subjectRoomId;
	}

	public YrCaregiverForm getCaregiverForm() {
		return caregiverForm;
	}

	public void setCaregiverForm(YrCaregiverForm caregiverForm) {
		this.caregiverForm = caregiverForm;
	}

	public YrElderBeHospitalForm getElderBeHospitalForm() {
		return elderBeHospitalForm;
	}

	public void setElderBeHospitalForm(YrElderBeHospitalForm elderBeHospitalForm) {
		this.elderBeHospitalForm = elderBeHospitalForm;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getCgIndiServiceSendOrderId() {
		return cgIndiServiceSendOrderId;
	}

	public void setCgIndiServiceSendOrderId(String cgIndiServiceSendOrderId) {
		this.cgIndiServiceSendOrderId = cgIndiServiceSendOrderId;
	}

	public String getCaregiverId() {
		return caregiverId;
	}

	public void setCaregiverId(String caregiverId) {
		this.caregiverId = caregiverId;
	}

	public String getCaregiverName() {
		return caregiverName;
	}

	public void setCaregiverName(String caregiverName) {
		this.caregiverName = caregiverName;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getElderId() {
		return elderId;
	}

	public void setElderId(String elderId) {
		this.elderId = elderId;
	}

	public String getElderName() {
		return elderName;
	}

	public void setElderName(String elderName) {
		this.elderName = elderName;
	}

	public String getIndiServiceCostId() {
		return indiServiceCostId;
	}

	public void setIndiServiceCostId(String indiServiceCostId) {
		this.indiServiceCostId = indiServiceCostId;
	}

	public String getIndiServiceName() {
		return indiServiceName;
	}

	public void setIndiServiceName(String indiServiceName) {
		this.indiServiceName = indiServiceName;
	}

	public Float getIndiServicePrice() {
		return indiServicePrice;
	}

	public void setIndiServicePrice(Float indiServicePrice) {
		this.indiServicePrice = indiServicePrice;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
